<?  include('top.php');
	include('conn.php');
	session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<TITLE>Transaction Upload</TITLE>
</HEAD>


<BODY>
<form action="invoiceupload.php" method="post" enctype="multipart/form-data">
<input type="file" name="file" id="file" class='dec'><BR><BR>
Enter Start Row : <INPUT TYPE="text" name="srow" id="srow" class='dec' size=3><BR><BR>
<?PHP
  include('conn.php');

//$conn = mysql_connect("localhost","root","");
//<STYLE>  /commented by rs
  //  body{padding-top:25px;padding-left:500px;font-size:18px;font-family:Segoe UI;}
//    .dec{font-size:18px;font-family:Segoe UI;}
//</STYLE>

//mysql_select_db("invoice",$conn);
$query="Show tables from invoiceappdev";
$result=mysql_query($query);
echo "SELECT THE TABLE  <select class='dec' name='menu'>";
echo "<option value='none'>Select</option>";
while($row=mysql_fetch_array($result))
{
    echo "<option value='".$row[0]."'>".$row[0]."</option>";
}
    echo "</select> <BR> <BR>";
?>

    OR Enter Table Name <INPUT TYPE="text" name="tname" id="tname" class='dec'><BR><BR>

<INPUT type="submit" name="submit" value="submit" class='dec'>

</FORM>

</BODY>
</HTML>




